package zb.blog.service;

import com.github.pagehelper.PageInfo;
import zb.blog.base.bean.Result;
import zb.blog.bean.NoticeBean;

public interface INoticeService {
    PageInfo<NoticeBean> getNoticeAll(Integer pageNum, Integer pageSize, String title, Integer enable, String startTime, String endTime);

    Result updateStatusNoticeById(Integer id, Integer status);

    Result getNoticeById(Integer id);

    Result editNotice(Integer id, String title, String content, String type, Integer enable);
}
